import 'package:flutter_duqin/http/http.dart';

class SongService {
  static const String rootPath = '/api/Songs';

// 请求列表数据
  static Future getSongs({int page = 1, int limit = 10}) async {
    final response = await Http.get(rootPath, params: {'page': page, 'limit': limit});
    Map<String, dynamic> result = response['page'];
    return result;
  }
}
